﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="monitor_delete.aspx.cs" Inherits="HYSoft.Web.monitor_delete" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
     <title>地质灾害物联网监测系统远程控制平台</title>
    <script language="javascript" src="JS/public.js" type="text/javascript"></script>
    <style type="text/css">
        .main
        {
            font-size:15px;
             margin-top:-10px;
             margin-left:-10px;
         
        }
        tr td a
        {
            text-decoration:none;
            color:#A8A8A8;
            font-size:13px;
        }
        tr td a:hover
        {
            color:red;
        }
    </style>
  <script type="text/javascript">
      function Del(ID) {
          if (confirm('你确认删除边坡信息?')) {
              self.location = "?Type=Del&ID=" + ID;
          }
      }
    
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="main">
                <div class="part_4">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr style="background: url(images/ws3.jpg) repeat-x; font-weight: bold;">
                            <td>
                                所在区</td>
                            <td>
                                所在县</td>
                            <td>
                                具体地址</td>
                            <td>
                                现场联系人1</td>
                            <td>
                                联系人1电话</td>
                            <td>
                                所属传感器数量</td>
                            <td>
                                删除操作</td>
                        </tr>
                        <asp:Repeater ID="Repeater1" runat="server">
                            <ItemTemplate>
                                <tr onmouseover="overColor(this)" onmouseout="outColor(this)">
                                    <td>
                                        &nbsp;<a href="monitor_list.aspx?id=<%#Eval("index")%>"><%#Eval("m_area_name")%></a></td>
                                    <td>
                                        &nbsp;<a href="monitor_list.aspx?id=<%#Eval("index")%>"><%#Eval("m_area_id")%></a></td>
                                    <td>
                                        &nbsp;<a href="monitor_list.aspx?id=<%#Eval("index")%>"><%#Eval("[Addr]") %></a></td>
                                    <td>
                                        &nbsp;<a href="monitor_list.aspx?id=<%#Eval("index")%>"><%#Eval("Contact_name1")%></a></td>
                                    <td>
                                        &nbsp;<a href="monitor_list.aspx?id=<%#Eval("index")%>"><%#Eval("Contact_mobile1")%></a></td>
                                    <td>
                                        &nbsp;<a href="monitor_list.aspx?id=<%#Eval("index")%>"><%#Eval("count") %>&nbsp;(个)</a></td>
                                    <td>
                                        &nbsp;<a href="javascript:Del(<%#Eval("Index")%>);" class='list_link'><img
                                            src="Images/del.gif" border="0" alt="删除" /></a></td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </div>
            </div>
    </form>
</body>
</html>
